#pragma once
#include "inc.h"

struct Plist {
	string realTextureFileName, pixelFormat, textureFileName;
	int format, width, height;
	bool premultiplyAlpha;
	vector<Node> nodes;
};

bool read_plist(std::ifstream& ifile, string& line, Node& node);

bool read_plist(std::ifstream& ifile, string& line, Plist& plist);

bool anti_plist(const string& path, const string& filename, bool print_nodes);